package com.tinycloud.miracll.product.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * 自动助剂称量主对象 product_auxisys_weigh_main
 * 
 * @author tiny
 * @date 2022-05-24
 */
public class ProductAuxisysWeighMain extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNum;

    /** 产线 */
    @Excel(name = "产线")
    private String lineNum;

    /** 备料釜号 */
    @Excel(name = "备料釜号")
    private String preparReactorNum;

    /** 品管号 */
    @Excel(name = "品管号")
    private String qaCtrlNum;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchNum;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 耗时 */
    @Excel(name = "耗时")
    private Double elapseTime;

    /** $column.columnComment */
    private Long delFlag;

    public void setId(String id){
        this.id = id;
    }

    public String getId(){
        return id;
    }
    public void setOrderNum(String orderNum){
        this.orderNum = orderNum;
    }

    public String getOrderNum(){
        return orderNum;
    }
    public void setLineNum(String lineNum){
        this.lineNum = lineNum;
    }

    public String getLineNum(){
        return lineNum;
    }
    public void setPreparReactorNum(String preparReactorNum){
        this.preparReactorNum = preparReactorNum;
    }

    public String getPreparReactorNum(){
        return preparReactorNum;
    }
    public void setQaCtrlNum(String qaCtrlNum){
        this.qaCtrlNum = qaCtrlNum;
    }

    public String getQaCtrlNum(){
        return qaCtrlNum;
    }
    public void setBatchNum(String batchNum){
        this.batchNum = batchNum;
    }

    public String getBatchNum(){
        return batchNum;
    }
    public void setBeginTime(Date beginTime){
        this.beginTime = beginTime;
    }

    public Date getBeginTime(){
        return beginTime;
    }
    public void setEndTime(Date endTime){
        this.endTime = endTime;
    }

    public Date getEndTime(){
        return endTime;
    }
    public void setElapseTime(Double elapseTime){
        this.elapseTime = elapseTime;
    }

    public Double getElapseTime(){
        return elapseTime;
    }
    public void setDelFlag(Long delFlag){
        this.delFlag = delFlag;
    }

    public Long getDelFlag(){
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNum", getOrderNum())
            .append("lineNum", getLineNum())
            .append("preparReactorNum", getPreparReactorNum())
            .append("qaCtrlNum", getQaCtrlNum())
            .append("batchNum", getBatchNum())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("elapseTime", getElapseTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
